package top.linyuxb.lycloud.config.starter.annotation;

import java.lang.annotation.*;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/6/13 11:51
 * @Desc: ly-config 参数注解
 */
@Inherited
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface LyConfigurationValue {
    /**
     * 字段配置key
     * ${user.name}
     * 支持默认值：${user.name:张三}
     * @return
     */
    String value();
}
